﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Student>" %>
<div>
    <span>
        <img src="<%= Url.Content("~/Content/Icons/student.png") %>" class="mediumIcon" />
            <span class="largetext"><%= Model.FullName %></span>
            <span class="smallgreytext">(<%= Model.Email %>)</span>    
    </span>
    <span>
        <a href="<%= Url.RouteUrl("Default", new {controller="Students", action="Edit", id=Model.UserId}) %>"
            onclick="editStudent(this.href);return false;">
            <img class="mediumIcon" src="<%= Url.Content("~/Content/Icons/edit.png") %>" />
        </a><a href="<%= Url.RouteUrl("Default", new {controller="Students", action="Delete", id=Model.UserId}) %>">
            <img class="mediumIcon" src="<%= Url.Content("~/Content/Icons/delete.png") %>" />
        </a>
    </span>
    
</div>
